package be.novelfaces.showcase.webdriver.util;

import java.io.IOException;
import java.util.Properties;

public class ResourceBundleManager {

	private static Properties resourceBundle = new Properties();

	static {
		try {
			resourceBundle
					.load(ResourceBundleManager.class
							.getResourceAsStream("/be/novelfaces/ResourceBundle.properties"));
		} catch (IOException e) {
			throw new RuntimeException("ResourceBundle not found", e);
		}
	}
	
	public static Properties getResourceBundle() {
		return ResourceBundleManager.resourceBundle;
	}
}
